<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
    <form action="" method="POST" enctype="application/x-www-form-urlencoded" >
        <div>
            <label>用户名:
                    <input type="text" name="username">
            </label>
        </div>
        <div>
            <label>密码:
                <input type="password" name="password">
            </label>
        </div>
        <div>
            <input type="submit">
        </div>
    </form>
    <p style="color: red">{{.err}}</p>
</body>
</html>